package com.wenx.strings;

import java.util.Scanner;

/**
 * Created by wenx on 2019-11-27 11:07
 */
public class CommonStrings {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String str1 = scanner.next();
        String str2 = scanner.next();
        System.out.println(str1);
        System.out.println(str2);
    }

}